package no.zsoft.faktura.admin.repository;

import java.util.List;

import no.zsoft.faktura.admin.domain.User;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRepository extends JpaRepository<User, Long>, JpaSpecificationExecutor<User>{

	public List<User> findByUserName(String userName);
	public List<User> findByTenant(String tenant);
}
